package com.wanbangee.marksystem.service;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "kaoJinBang-examination-setting-provider")
public interface MClassServiecApi {
	//调用其他的服务的接口,查询参加考试的班级信息
	@RequestMapping(value = "/class/getClass",method = RequestMethod.GET)
	public Map<String,Object> selectClassByexamId(@RequestParam("examId")Integer examId);
	
	//调用其他的服务的接口,查询登录人的所有考试
	@RequestMapping(value = "/class/getMExam",method = RequestMethod.GET)
	public Map<String,Object> selectMExamInfoBySchId(@RequestParam("schId")Integer schId);
}
